package com.imooc.copyObject;

import java.io.*;

/**
 * Created by yijy on 2017/11/30.
 */
public class Test1 {

    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream(new File("D:\\搜狗高速下载\\name.txt"));
        BufferedInputStream bis = new BufferedInputStream(fis);
        byte[] bytes = new byte[1024*4];
        int i=0;
        while ((i=bis.read(bytes,0,bytes.length))!=-1){
            bis.read(bytes,0,bytes.length);

        }

    }
}
